Package-level declarations

Types

Link copied to clipboard
data class CampaignResponse(val id: String, val name: String, val type: CampaignType, val status: CampaignStatus, val channelId: String?, val messageContent: String?, val templateName: String?, val templateId: String?, val targetTagId: String?, val targetGroupId: String?, val scheduledTo: LocalDateTime?, val sentAt: LocalDateTime?, val totalRecipients: Int, val deliveredCount: Int, val failedCount: Int, val readCount: Int, val repliedCount: Int, val createdAt: LocalDateTime)
Link copied to clipboard
data class CampaignStatsResponse(val totalCampaigns: Long, val scheduledCount: Long, val sentCount: Long, val draftCount: Long)
Link copied to clipboard
data class ContactResponse(val id: String, val waId: String, val name: String, val profilePicUrl: String?, val email: String?, val notes: String?, val tags: List<TagResponse>, val lastInteraction: LocalDateTime?, val is24hWindowActive: Boolean)
Link copied to clipboard
data class CreateCampaignRequest(val name: String, val type: CampaignType = CampaignType.WHATSAPP, val channelId: String? = null, val messageContent: String? = null, val templateName: String? = null, val templateId: String? = null, val templateArgs: List<String>? = null, val templateComponents: List<Map<String, Any>>? = null, val targetTagId: String? = null, val targetGroupId: String? = null, val targetContactIds: List<String>? = null, val scheduledTo: LocalDateTime? = null)
Link copied to clipboard
data class CreateContactRequest(val waId: String, val name: String? = null, val email: String? = null, val notes: String? = null, val tagIds: List<String>? = null)
Link copied to clipboard
data class CreateDealRequest(val title: String, val value: BigDecimal? = null, val contactId: String?, val stageId: String)
Link copied to clipboard
data class CreateGroupRequest(val name: String, val description: String? = null, val tagId: String? = null, val contactIds: List<String>? = null)
Link copied to clipboard
data class CreatePipelineRequest(val name: String)
Link copied to clipboard
data class CreateScheduleRequest(val messageContent: String, val messageType: MessageType = MessageType.TEXT, val targetContactIds: List<String>? = null, val targetTagId: String? = null, val scheduledTo: LocalDateTime, val templateName: String? = null, val templateArgs: List<String>? = null)
Link copied to clipboard
data class CreateStageRequest(val name: String, val color: String = "#E2E8F0")
Link copied to clipboard
data class CreateTagRequest(val name: String, val color: String = "#8B5CF6")
Link copied to clipboard
data class DealResponse(val id: String, val title: String, val value: BigDecimal, val contactId: String?, val stageId: String, val createdAt: LocalDateTime)
Link copied to clipboard
data class GroupContactsRequest(val contactIds: List<String>)
Link copied to clipboard
data class GroupResponse(val id: String, val name: String, val description: String?, val tagId: String?, val contactCount: Int, val createdAt: String)
Link copied to clipboard
data class ImportResult(val processed: Int, val success: Int, val failed: Int, val errors: List<String>)
Link copied to clipboard
data class NotificationResponse(val id: String, val type: String, val title: String, val message: String?, val read: Boolean, val createdAt: String, val resourceType: String?, val resourceId: String?)
Link copied to clipboard
data class PipelineResponse(val id: String, val name: String, val stages: List<StageResponse> = emptyList())
Link copied to clipboard
data class ScheduleResponse(val id: String, val status: String, val scheduledTo: LocalDateTime, val targetSummary: String, val createdAt: LocalDateTime)
Link copied to clipboard
data class StageResponse(val id: String, val name: String, val color: String, val order: Int, val deals: List<DealResponse> = emptyList())
Link copied to clipboard
data class TagResponse(val id: String, val name: String, val color: String)
Link copied to clipboard
data class UpdateCampaignRequest(val name: String? = null, val channelId: String? = null, val messageContent: String? = null, val templateName: String? = null, val templateId: String? = null, val templateArgs: List<String>? = null, val templateComponents: List<Map<String, Any>>? = null, val targetTagId: String? = null, val targetGroupId: String? = null, val targetContactIds: List<String>? = null, val scheduledTo: LocalDateTime? = null)
Link copied to clipboard
data class UpdateContactRequest(val name: String?, val email: String?, val notes: String?, val tagIds: List<String>?)
Link copied to clipboard
data class UpdateDealStageRequest(val stageId: String)
Link copied to clipboard
data class UpdateGroupRequest(val name: String? = null, val description: String? = null, val tagId: String? = null)